<?php 
	/*changes connection from mysql to using mysqli or PDO for a better next time
	*/
	$conn=mysql_connect("localhost","root","");
	$mysqli = new mysqli("localhost", "root", "", "uwika_krs_alpha");
	
	try {
		$pdo = new PDO('mysql:host=localhost;dbname=uwika_krs_alpha', 'root', '');
		$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
	} catch (PDOException $e) {
		print "Error!: " . $e->getMessage() . "<br/>";
		die();
	}

	/*
	$conn=mysql_connect("localhost","uwika_krs","l14n54putr1");
	$mysqli = new mysqli("localhost", "uwika_krs", "l14n54putr1", "uwika_krs");
	try {
		$pdo = new PDO('mysql:host=localhost;dbname=uwika_krs', 'uwika_krs', 'l14n54putr1');
	} catch (PDOException $e) {
		print "Error!: " . $e->getMessage() . "<br/>";
		die();
	}
	*/
?>